import { test, expect } from "vitest";
import { render, screen } from "@testing-library/react";
import App from "./App";

test("listUi组件---快照", () => {
  const { baseElement } = render(<App />);
  const content = screen.getByTestId("list");
  // expect(baseElement).toMatchSnapshot();
  expect(content).toMatchSnapshot(); // 局部快照
});
